package com.zhongkai.app.service;

import com.zhongkai.model.utils.ZhongkaiResult;

/**
 * 员工管理
 */
public interface MaintainService {

    ZhongkaiResult addMaintain(  //添加员工
                                 String tain_uuid,
                                 String tain_name,
                                 String tain_sex,
                                 String tain_section,
                                 String tain_phone,
                                 String tain_mail

    );


    ZhongkaiResult updateMaintain(  //修改员工信息
                                    Long id,
                                    String tain_name,
                                    String tain_sex,
                                    String tain_section,
                                    String tain_phone,
                                    String tain_mail

    );


    ZhongkaiResult removeMaintain(  //删除员工信息
                                    Long id

    );

    ZhongkaiResult updateMaintain2(  //修改员工状态
                                    Long id,String tain_status

    );

    ZhongkaiResult listMaintain(  //员工列表
                                  Integer page, Integer rows

    );
}
